#ifndef __BSP_UART_H__
#define __BSP_UART_H__

#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include <stdio.h>

#include "driver/uart.h"

#define EX_UART_NUM         UART_NUM_0
#define PATTERN_CHR_NUM     (3)         /*!< Set the number of consecutive and identical characters received by receiver which defines a UART pattern*/

#define BUF_SIZE (1024)
#define RD_BUF_SIZE (BUF_SIZE)


void uart_app_main(void);

void esp_printf(char *format, ...);
void esp_sprintf(char *format, ...);
void esp_arrprintf(char *format, uint8_t *pData, uint32_t dataLen);

#endif

